<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
			
		<title>后台页面的布局</title>
		<!-- 导入 jquery 核心类库 -->
	<script type="text/javascript" src="../js/jquery-1.8.3.js" ></script>
	<script type="text/javascript" src="../js/easyui/jquery.easyui.min.js" ></script>
	<script type="text/javascript" src="../js/easyui/locale/easyui-lang-zh_CN.js" ></script>
	<link rel="stylesheet" href="../js/easyui/themes/default/easyui.css" />
	<link rel="stylesheet" href="../js/easyui/themes/icon.css" />
	<script>
		$(function(){
			$("#heimalink").click(function(){
				//添加选项卡
				$("#tabs1").tabs('add',{
					title:'黑马',
					content:'黑马教育',
					closable:true
				})
			
		
			
			});
			
	
		
		});
		
		
	</script>
	
	
<body class="easyui-layout"> 

<div data-options="region:'north',title:'North Title',split:true" style="height:100px;">上部</div> 

<div data-options="region:'south',title:'South Title',split:true" style="height:100px;">下部</div> 

<div data-options="region:'east',iconCls:'icon-reload',title:'East',split:true" style="width:100px;">
	西部
	
</div> 

<div data-options="region:'west',title:'菜单',split:true" style="width:180px;">
	<!-- -->	
	<div class="easyui-accordion" style="width:300px;height:200px;" data-options="fit:true" > 
 
		<div data-options="title:'基础数据'" >面板一</div>
		<a id="heimalink" href="javascript:void(0)">黑马</a>
		<div data-options="title:'系统数据'">面板二</div>
		
		
	</div>
	
	
	
</div> 

<div data-options="region:'center',title:'center title'" style="padding:5px;background:#eee;">
	<!--
    	添加选项卡
    -->
	<div id="tabs1" class="easyui-tabs" data-options="fit:true">
		<div data-options="title:'百度',closable:true"> 选项卡一 </div>
		<div data-options="title:'谷歌',closable:true"> 选项卡二 </div>
		
		
	</div>
	
</div> 

</body> 

 


</html>
